conf: disable internal Sign subtypes
authorFelix Krull <f_krull@gmx.de>
Tue, 25 Aug 2020 20:08:23 +0000 (22:08 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:56 +0000 (12:53 -0400)
rust-bindings/rust/conf/ostree-sys.toml
rust-bindings/rust/src/auto/versions.txt
rust-bindings/rust/sys/src/auto/versions.txt
rust-bindings/rust/sys/src/lib.rs
rust-bindings/rust/sys/tests/abi.rs

index d3ac4ba528737e269f1186bd7f8ba4c84a85f5b3..77a01f951c2d1ca9449793728d0d903c7c257375 100644 (file)
@@ -21,6 +21,10 @@ ignore = [
     "OSTree.LzmaDecompressorClass",
     "OSTree.RepoFileEnumeratorClass",
     "OSTree.RollsumMatches",
+    "OSTree.SignDummy",
+    "OSTree.SignDummyClass",
+    "OSTree.SignEd25519",
+    "OSTree.SignEd25519Class",
 
     # version-dependent constants
     "OSTree.RELEASE_VERSION",
index 79591983e94a26c45ee976cb88ae60f7b1317834..e216eb31c3faef253755f15d316819353dbdcd2f 100644 (file)
@@ -1,2 +1,2 @@
 Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
-from gir-files (https://github.com/gtk-rs/gir-files @ ed7b959+)
+from gir-files (https://github.com/gtk-rs/gir-files @ 7ce8ed9)
index 79591983e94a26c45ee976cb88ae60f7b1317834..e216eb31c3faef253755f15d316819353dbdcd2f 100644 (file)
@@ -1,2 +1,2 @@
 Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
-from gir-files (https://github.com/gtk-rs/gir-files @ ed7b959+)
+from gir-files (https://github.com/gtk-rs/gir-files @ 7ce8ed9)
index 2498fcef193d2b899014d3917744b3228f3cd371..e0898c996380ac1dc281d504d6474126012f622f 100644 (file)
@@ -725,44 +725,6 @@ impl ::std::fmt::Debug for OstreeRepoTransactionStats {
     }
 }
 
-#[repr(C)]
-pub struct _OstreeSignDummy(c_void);
-
-pub type OstreeSignDummy = *mut _OstreeSignDummy;
-
-#[repr(C)]
-#[derive(Copy, Clone)]
-pub struct OstreeSignDummyClass {
-    pub parent_class: gobject::GObjectClass,
-}
-
-impl ::std::fmt::Debug for OstreeSignDummyClass {
-    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
-        f.debug_struct(&format!("OstreeSignDummyClass @ {:?}", self as *const _))
-         .field("parent_class", &self.parent_class)
-         .finish()
-    }
-}
-
-#[repr(C)]
-pub struct _OstreeSignEd25519(c_void);
-
-pub type OstreeSignEd25519 = *mut _OstreeSignEd25519;
-
-#[repr(C)]
-#[derive(Copy, Clone)]
-pub struct OstreeSignEd25519Class {
-    pub parent_class: gobject::GObjectClass,
-}
-
-impl ::std::fmt::Debug for OstreeSignEd25519Class {
-    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
-        f.debug_struct(&format!("OstreeSignEd25519Class @ {:?}", self as *const _))
-         .field("parent_class", &self.parent_class)
-         .finish()
-    }
-}
-
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub struct OstreeSignInterface {
index 5e22cb11a0b5b289dcf3b2ef719d38dad2ca66e8..7f294b0d949356fa4defeb73421b3e63c6e1afae 100644 (file)
@@ -282,8 +282,6 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
     ("OstreeRepoResolveRevExtFlags", Layout {size: size_of::<OstreeRepoResolveRevExtFlags>(), alignment: align_of::<OstreeRepoResolveRevExtFlags>()}),
     ("OstreeRepoTransactionStats", Layout {size: size_of::<OstreeRepoTransactionStats>(), alignment: align_of::<OstreeRepoTransactionStats>()}),
     ("OstreeSePolicyRestoreconFlags", Layout {size: size_of::<OstreeSePolicyRestoreconFlags>(), alignment: align_of::<OstreeSePolicyRestoreconFlags>()}),
-    ("OstreeSignDummyClass", Layout {size: size_of::<OstreeSignDummyClass>(), alignment: align_of::<OstreeSignDummyClass>()}),
-    ("OstreeSignEd25519Class", Layout {size: size_of::<OstreeSignEd25519Class>(), alignment: align_of::<OstreeSignEd25519Class>()}),
     ("OstreeSignInterface", Layout {size: size_of::<OstreeSignInterface>(), alignment: align_of::<OstreeSignInterface>()}),
     ("OstreeStaticDeltaGenerateOpt", Layout {size: size_of::<OstreeStaticDeltaGenerateOpt>(), alignment: align_of::<OstreeStaticDeltaGenerateOpt>()}),
     ("OstreeSysrootSimpleWriteDeploymentFlags", Layout {size: size_of::<OstreeSysrootSimpleWriteDeploymentFlags>(), alignment: align_of::<OstreeSysrootSimpleWriteDeploymentFlags>()}),